//
//  NEDFormElementLayout.m
//  NEDFormView_Example
//
//  Created by 000 on 2022/1/7.
//  Copyright © 2022 000. All rights reserved.
//

#import "NEDFormElementLayout.h"
#import <NEDStyle/UIColor+NEDStyle.h>
#import <NEDStyle/UIFont+NED.h>


@implementation NEDFormSectionLayout

-(instancetype)init{
    self = [super init];
    if(self){
        [self defaultStyle];
    }
    return self;
}

- (void)defaultStyle{
    
    self.separatorLineColor = UIColor.ned_separator;
    self.separatorLineHeight = 0.5;
    self.height = 50;
    
    self.backgroundColor = UIColor.ned_white;
    
    self.spaceTopColor = [UIColor clearColor];
    self.spaceBottomColor = [UIColor clearColor];
    
    
    self.colorLeft = UIColor.ned_h1;
    self.colorCenter = UIColor.ned_h1;
    self.colorRight = UIColor.ned_h3;
    
    self.fontLeft = [UIFont ned_pfOfSize:15];
    self.fontCenter = [UIFont ned_pfOfSize:15];
    self.fontRight = [UIFont ned_pfOfSize:14];
}

@end
